import ajax from '@/utils/ajax';

export default {
  // 获取评分项列表
  getEvaluationConfigList(data) {
    return ajax({
      url: '/evaluation/getEvaluationConfigList',
      method: 'get',
      data
    })
  },
  // 添加评分项
  addEvaluationConfig(data) {
    return ajax({
      url: '/evaluation/addEvaluationConfig',
      method: 'post',
      data
    })
  },
  // 更新评分项
  updEvaluationConfig(data) {
    return ajax({
      url: '/evaluation/updEvaluationConfig',
      method: 'post',
      data
    })
  },
  // 删除评分项
  delEvaluationConfig(data) {
    return ajax({
      url: '/evaluation/delEvaluationConfig',
      method: 'post',
      data
    })
  },
}